import request from '@/utils/request'

// 查询房间标记列表
export function listRoommark(query) {
  return request({
    url: '/room/roommark/list',
    method: 'get',
    params: query
  })
}

// 查询房间标记详细
export function getRoommark(id) {
  return request({
    url: '/room/roommark/' + id,
    method: 'get'
  })
}

// 新增房间标记
export function addRoommark(data) {
  return request({
    url: '/room/roommark',
    method: 'post',
    data: data
  })
}

// 修改房间标记
export function updateRoommark(data) {
  return request({
    url: '/room/roommark',
    method: 'put',
    data: data
  })
}

// 删除房间标记
export function delRoommark(id) {
  return request({
    url: '/room/roommark/' + id,
    method: 'delete'
  })
}
